package cn.rongdao.jrkabao.model.city;

import cn.rongdao.jrkabao.model.api.BaseSuDaiModel;
import io.reactivex.Observable;
import io.reactivex.Observer;

/**
 * Created by jack on 17/5/11
 */

public class CityModel extends BaseSuDaiModel {

    public static CityModel getInstance() {
        return getPresent(CityModel.class);
    }

    public void execute(Observer<String> observer) {
        Observable<String> observable = mServletApi.getCityInfo(mParams);
        toSubscribe(observable, observer);
    }

}
